package com.example.demo.proxy;

import java.util.ArrayList;
import java.util.List;

import com.google.common.collect.Lists;

/**
 * @Author: liull
 * @Description: 代理目标类
 * @Date: Created in 17:53 2020/9/27
 * @Modified By:
 */
public class ProxyServiceImpl implements ProxiedService {

    @Override
    public List<Integer> lists() {
        ArrayList<Integer> list = Lists.newArrayList(1, 2, 3);
        System.out.println(list);
        return list;
    }

    @Override
    public void query(int id) {
        System.out.println(id);
    }
}
